﻿#ifndef TEMPERATUREHUMIDITYSENSOR_H
#define TEMPERATUREHUMIDITYSENSOR_H

#include <QThread>

class TemperatureHumiditySensor : public QThread
{
    Q_OBJECT
public:
    explicit TemperatureHumiditySensor(QThread *parent = nullptr);
    ~TemperatureHumiditySensor() override;

protected:
    void run() override;

signals:
    void sig_updataData(double temp, double Hum);
};

#endif // TEMPERATUREHUMIDITYSENSOR_H
